package com.huibur.devicecheck.model.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;

import java.sql.Timestamp;

/*******************************************************
* @title: TaskRecordDataPO.java
* @description:
* @author wushiqi
* @date 2021/10/8
* @version 1.0
*******************************************************/
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
@TableName("task_record_data")
public class TaskRecordDataPO {

    @TableId(value = "id" , type = IdType.AUTO)
    private Long id;

    /**
     * 任务检查ID
     */
    @TableField("task_record_id")
    private Long taskRecordId;

    /**
     * 检查项ID
     */
    @TableField("check_item_id")
    private Long checkItemId;

    /**
     * 检查项数据
     */
    @TableField("data")
    private String data;

    @TableField("create_at")
    private Timestamp createAt;

    @TableField("create_by")
    private Long createBy;
}
